/**
 * 
 */
package org.gov.vis.data.controller;

import java.util.List;

import org.gov.vis.data.dto.ProcurementLNDto;
import org.gov.vis.master.controller.BaseCtlr;

/**
 * @author Vishwanath
 *
 */
public interface ProcurementLnCtlr extends BaseCtlr{
	

	/**
	 * Method called to Add or Edit the ProcurementLN
	 * @param _prLnDto
	 * @throws Exception
	 */
	public void addOrEditPrLN(final ProcurementLNDto _prLnDto) throws Exception;
	
	/**
	 * Method called to delete the PrLN Object based on the passed prLn Id
	 * @param _prLnId
	 * @throws Exception
	 */
	public void deletePrLN(long _prLnId) throws Exception;
	
	/**
	 * Method called to get the PrLN based on the passed PrLNDto Object
	 * @param _prLnDto
	 * @return
	 * @throws Exception
	 */
	public ProcurementLNDto getPrLN(final ProcurementLNDto _prLnDto) throws Exception;
	
	/**
	 * Method called to get the list of ProcurementLN based on the passed PrLNDto Object
	 * @param _prLnDto
	 * @return
	 * @throws Exception
	 */
	public List<ProcurementLNDto> getPrLNs(final ProcurementLNDto _prLnDto) throws Exception;
	
	/**
	 * Method called to search for the PrLNs based on the passed PrLN Object
	 * @param _prLnDto
	 * @return
	 * @throws Exception
	 */
	public List<ProcurementLNDto> searchPrLNs(final ProcurementLNDto _prLnDto) throws Exception; 
	
	/**
	 * Method called to get the PrLN based on the passed primary key Id
	 * @param _prLnId
	 * @return
	 * @throws Exception
	 */
	public ProcurementLNDto getPrLN(final long _prLnId) throws Exception;
	
	/**
	 * Method called to get the PrLN based on the passed RecieptNo
	 * @param _prLnRcptDt
	 * @return
	 * @throws Exception
	 */
	public ProcurementLNDto getPrLNOnDtOnRcpt(final String _prLnRcptDt) throws Exception;
	
	/**
	 * Method called to get the PrLN based on the passed vehicle no
	 * @param _prLnVhclNo
	 * @return
	 * @throws Exception
	 */
	public ProcurementLNDto getPrLNOnVehcleNo(final String _prLnVhclNo) throws Exception;
	
	/**
	 * Method called to get the PrLN based on the passed FromStation
	 * @param _prLnFrmStat
	 * @return
	 * @throws Exception
	 */
	public ProcurementLNDto getPrLNOnFrmStat(final String _prLnFrmStat) throws Exception;
	
	
	/**
	 * Mathod Called to get the PrLn based on the passed code
	 *  @param _prLnCode
	 * @return
	 * @throws Exception	
	 */
    
    public ProcurementLNDto getPrLnOnCode(final String _prLnCode) throws Exception;
}//end procurementLnCtlr
